|
|
|
|
|
|
|
Before you start to design a database, it's important to understand exactly what a database is and what types of databases you have to choose from. The application type will affect the database type that you choose. A database is really a system that contains many different objects used together to allow your application fast and efficient access to the data. You can use many examples of databases with your application. The most common of these are as follows: |
|
|
|
|
|
|
|
|
All these databases can run on a standalone computer and allow you to create very complex databases for your applications. Picking the right database for your application is very important, because the wrong one will affect performance and make your job as developer that much harder. |
|
|
|
|
|
|
|
|
Before starting the design process, you need to select a database. When working with Visual Basic, the databases that you can choose from fall into two distinct groups: |
|
|
|
|
|
|
|
|
Local databases can be accessed directly from Visual Basic through Visual Basic's database Jet engine. |
|
|
|
|
|
|
|
|
Remote databases can't be accessed by using Visual Basic's standard database access capabilities. |
|
|
|
|
|
|
|
|
Understanding the differences will help you select the correct database for your application. However, in Visual Basic 6, there is now a way to access both local and remote databases using the same database access controls and objects known as the ActiveX Data Objects. |
|
|
|
|
|
|
|
|
Understanding Universal Data Access (UDA).. |
|
|
|
|
|
|
|
|
As databases have grown and moved off the local computer and onto networked database servers, the methods employed to access the databases have changed. Microsoft has addressed these changes by developing a strategy to allow for any company or database to be accessed the same way. This is called Universal Data Access, or UDA. Understanding what UDA means is not as simple as understanding how to use it. The reason for this is that UDA is a set of rules and access methods that must be followed by any company that is creating a database access method to be used. This allows you, the programmer, to access any database the same way. |
|
|
|
|
|